<?php defined('SYSPATH') or die('No direct script access.'); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <?php
            // Google Font
            echo Html::style(
                'http://fonts.googleapis.com/css?family=Vollkorn',
                array('media' => 'all'),
                FALSE
            );
?>

        <?php
            // Main stylesheet
            echo Html::style(
                'assets/style/main.css',
                array('media' => 'all'),
                FALSE
            );
        ?>

        <?php
            // jQuery Dark hive theme
            echo Html::style(
                'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/dot-luv/jquery-ui.css',
                array('media' => 'all'),
                FALSE
            );
        ?>

        <?php
            // Blocks javascript
            echo Html::script('http://www.google.com/jsapi?key=ABQIAAAARxwMENAPZq-G4gmTGVvUIxSBmcnW-C9Xr3a4GkIJGBzXPAymyRSjUB_xFzQf9T3HPpLixboNqd4ljw');
            echo Html::script('assets/scripts/blocks.php');
            echo Html::script('assets/scripts/ui.php');
            echo Html::script('assets/scripts/main.php');

        ?>
        <script type="text/javascript">
            <?php jsmain::mainInit($blocks); ?>
        </script>
    </head>
    <body>
        <div id="mainTitle">
            <h1><?php echo $title; ?></h1><div id="date"><?php echo $date ?></div>
        </div>
        <div id="mainContent"></div>
        <div id="mainFooter">
            <button name="add">Add</button>
        </div>
        <div id="dialogs"><div id="dialog"></div></div>

    </body>
</html>